package com.oa.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tbl_users database table.
 * 
 */
@Entity
@Table(name="tbl_users")
public class TblUser implements Serializable {
	private static final long serialVersionUID = 66771L;
	
	private int userId;

	private String password;

	private String username;

	private TblRole tblRoles;

	private TblPersonalInformation tblPersonalInformation;

	public TblUser() {
	}

	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public TblPersonalInformation getTblPersonalInformation() {
		return this.tblPersonalInformation;
	}

	public void setTblPersonalInformation(TblPersonalInformation tblPersonalInformation) {
		this.tblPersonalInformation = tblPersonalInformation;
	}

	public TblRole getTblRoles() {
		return tblRoles;
	}

	public void setTblRoles(TblRole tblRoles) {
		this.tblRoles = tblRoles;
	}
}